package com.orientsec.autotest.project.system.systemParameter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.orientsec.autotest.framework.web.domain.BaseEntity;

/**
 * 计数器设置表 system_parameter
 * 
 * @author autotest
 * @date 2020-01-10
 */
public class SystemParameter extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer id;
	/** 值 */
	private String val;
	/** 名称 */
	private String name;
	/** 类型；1-系统时间；2-计数器 */
	private Integer type;
	/** 右边起始位 */
	private Integer rightIndex;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setVal(String val) 
	{
		this.val = val;
	}

	public String getVal() 
	{
		return val;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setType(Integer type) 
	{
		this.type = type;
	}

	public Integer getType() 
	{
		return type;
	}
	public void setRightIndex(Integer rightIndex) 
	{
		this.rightIndex = rightIndex;
	}

	public Integer getRightIndex() 
	{
		return rightIndex;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("val", getVal())
            .append("name", getName())
            .append("type", getType())
            .append("rightIndex", getRightIndex())
            .toString();
    }
}
